import requests
from pyquery import PyQuery as pq

url = 'http://quotes.toscrape.com/js/'
response = requests.get(url=url)
print(response.text)
#
# doc = pq(response.text)
# print('Quotes : {0}'.format(doc('.quote').length))

# 结果
# Quotes : 0